<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<link rel="stylesheet" href="css/jquery.autocomplete.css" type="text/css" media="screen" title="Scheduler">
<link rel="stylesheet" href="css/enlistuser.mod.css" type="text/css" media="screen" title="Scheduler">

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/plugins/jquery.autocomplete.js"></script>

<title>Insert title here</title>
</head>
<body>
<input id="userquery" type="text"> <button id="adduser">Add</button>
<div id="users_added">
</div>
<script>
var userarray=["Robert", "Wendy", "Steve", "Yin", "Juan", "Atul", "Roger", "Ross", "Wes", "Abb", "Sam", "Yoo"];
$("#userquery").autocompleteArray(userarray);
$("#adduser").click( function() {
    // do something
});
</script>
</body>
</html>